<?php use_helper('I18N') ?>
<?php use_helper('Text') ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body style="margin: 0px; padding: 0px; color: #42242f; font-size:14px;">
<table width="626" cellspacing="0" cellpadding="0" border="0" align="center">
  <tr>
    <td width="258" height="240"><img src="http://www.compraunvoto.it/images/mail_natale_a_sx.jpg" border="0" width="258" Height="240" style="border:0px; margin:0px; width:258; height:240;" /></td>
    <td width="259" height="252" valign="top">
      <div style="margin: 35px; text-align:left;">
        Ciao <?php echo $form->getValue('nome_destinatario') ?>,<br /><br />
        Hai ricevuto in regalo un soffio di democrazia da <?php echo $form->getValue('nome_tuo') ?>.<br /><br />
        Tramite compraunvoto.it <?php echo $form->getValue('nome_tuo') ?> ti ha regalato la possibilità di pilotare il voto di un parlamentare.
      </div>
    </td>
  </tr>
  <tr>
    <td width="258" height="171" valign="top" >
      <div style="margin: 15px; text-align:left;">
        <?php if(strlen($form->getValue('message'))): ?>

          Questo è il suo testo:<br /><br />

          <?php echo strip_tags(simple_format_text($form->getValue('message'))); ?>

        <?php endif; ?>
      </div>
    </td>
    <td width="365" height="239" rowspan="2"><img src="http://www.compraunvoto.it/images/mail_natale_b_dx.jpg" border="0" width="365" Height="239" style="border:0px; margin:0px; width:365; height:239;" /></td>
  </tr>
  <tr>
    <td width="259" height="68"><a href="http://www.compraunvoto.it" alt="http://www.compraunvoto.it"><img src="http://www.compraunvoto.it/images/mail_natale_logo.jpg" border="0" width="259" Height="68" style="border:0px; margin:0px; width:259; height:68;" /></a></td>
  </tr>
</table>
</body>
</html>